<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Toolkit Installation on Mac OS X</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><meta name="keywords" content="Intellon, Atheros, Qualcomm, HomePlug, powerline, communications, INT6000, INT6300, INT6400, AR7400, AR7420"><link rel="home" href="index.html" title="Qualcomm Atheros Open Powerline Toolkit"><link rel="up" href="ch01.html" title="Chapter 1.  Overview"><link rel="prev" href="ch01s04.html" title="Toolkit Installation on Linux"><link rel="next" href="ch01s06.html" title="Toolkit Installation on Windows XP™"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">
			Toolkit Installation on Mac OS X
			</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch01s04.html">Prev</a> </td><th width="60%" align="center">Chapter 1. 
		Overview 
		</th><td width="20%" align="right"> <a accesskey="n" href="ch01s06.html">Next</a></td></tr></table><hr></div><div class="section" title="Toolkit Installation on Mac OS X"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="install-macosx"></a>
			Toolkit Installation on Mac OS X
			</h2></div></div></div><p>
			Toolkit installation on <span class="productname">Mac OS X</span>™ is essentially identical to installation on Linux but special steps are needed before starting.
			</p><p>
			First, you must install the toolkit as the <code class="varname">root</code> user or you will be denied permission. The <code class="varname">root</code> user account is disabled by default and so you must enable it in order to login. Follow instructions at <a class="ulink" href="http://support.apple.com/kb/HT1528" target="_top">Enabling the "root" user in Mac OS X</a> to enable the account and login. After installation, toolkit programs should be run from a normal user account.
			</p><p>
			Second, <span class="productname">Mac OS X</span>™ does not include C Language development tools by default. You must download and install them in order to build the toolkit. You can download and install them from the Apple website or (if you are ambitious) download, compile and install them from various open source websites. Consider using <a class="ulink" href="https://developer.apple.com/technologies/tools/" target="_top"><span class="application">Xcode</span></a> on <span class="application">Mac OS X Leopard</span> or <span class="application">Lion</span>. 
			</p><p>
			Login as the root user and download or copy the toolkit archive file to your preferred folder then follow the <a class="link" href="ch01s04.html" title="Toolkit Installation on Linux">instructions</a> for installing the toolkit on Linux.
				</p><div class="example"><a name="idp18577952"></a><p class="title"><b>Example 1.3. 
				Setting the <code class="constant">PATH</code> variable on <span class="productname">OS X</span>™
				</b></p><div class="example-contents"><p>
			While still logged in as the <code class="varname">root</code> user, edit <code class="filename">/etc/profile</code> and add folder<code class="filename">/usr/local/bin</code> to the <code class="varname">PATH</code> definition found there. This will ensure that all users can access toolkit programs. The change may not take effect until the next time you login or open a new command shell.
				</p><pre class="screen">
PATH="/bin:/sbin:/usr/local/bin"
</pre></div></div><br class="example-break"><div class="example"><a name="idp18580624"></a><p class="title"><b>Example 1.4. 
				Removing the Toolkit from <span class="productname">Mac OS X</span>™
				</b></p><div class="example-contents"><p>
			While still logged in as the <code class="varname">root</code> user, remember to delete the toolkit source folder or, at least change ownership of all files in the toolkit folder, so that you can access and/or remove them later. This deletes the toolkit source code and intermmediate files without removing any installed toolkit programs.  
			</p><pre class="screen">
cd ..
rm -r plc-utils-x.x.x
</pre></div></div><br class="example-break"></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01s04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch01s06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
			Toolkit Installation on Linux
			 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
			Toolkit Installation on <span class="productname">Windows XP</span>™
			</td></tr></table></div></body></html>
